package com.itlong.cloud.noncore.operate;
/**
 * <desc>
 *      运营-日志管理-开发者日志业务处理暴露接口实现类
 * </desc>
 *
 * @createDate 2018/12/18
 */

import com.itlong.cloud.POJO.DTO.operate.OperateLoggerDeveloperLogGetPageDTO;
import com.itlong.cloud.POJO.VO.operate.OperateDeveloperLogVO;
import com.itlong.cloud.utils.page.Page;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("non-core-service")
public interface IOperateDeveloperLogServiceClient {

    /**
     * <desc>
     *      分页获取信息。
     * <desc/>
     *
     * @param  pageDTO
     * @return
     * @author Qiang.S
     * @createDate 2018/12/18
     */
    @RequestMapping(path = "/operate/logger/developerLog/getDeveloperLogByPage")
    Page<OperateDeveloperLogVO> getDeveloperLogByPage(@RequestBody OperateLoggerDeveloperLogGetPageDTO pageDTO) throws Exception;

    /**
     * <desc>
     *      删除功能
     * </desc>
     *
     * @param logIds 开发者日志id数组
     * @return sql执行行数
     * @author Qiang.S
     * @createDate 2018/12/18
     */
    @RequestMapping(path = "/operate/logger/developerLog/delete")
    Integer delete(@RequestParam("logIds") String logIds);

}
